import instance from '@/utils/request'

// 获取分类统计数据
export function getClassifyStatistics (begin = '', end = '') {
  return instance.get(`/api/statistics/classifyStatistics?begin=${begin}&end=${end}`)
}

// 获取活动参与人数 Top10
export function getActivityTop10 (begin = '', end = '') {
  return instance.get(`/api/statistics/peopleCounting?begin=${begin}&end=${end}`)
}

// 获取活动状态统计
export function getActivityStatistics () {
  return instance.get('/api/statistics/activityStatistics')
}
